<?xml version="1.0" encoding="UTF-8"?>
<ui:composition xmlns="http://www.w3.org/1999/xhtml"
   xmlns:ui="http://xmlns.jcp.org/jsf/facelets"
   xmlns:f="http://xmlns.jcp.org/jsf/core"
   xmlns:h="http://xmlns.jcp.org/jsf/html"
   xmlns:p="http://primefaces.org/ui"   
   xmlns:c="http://xmlns.jcp.org/jsp/jstl/core"
   template="/WEB-INF/templates/public/default.xhtml">
   
   <f:metadata>	
   		<f:viewParam name="firstResult" value="#{zfBulletinList.firstResult}"></f:viewParam>   	
   	</f:metadata>
   	
   <ui:define name="head">
   		<ui:remove><h:outputStylesheet library="css"   name="public/first-pagemain.css" ></h:outputStylesheet></ui:remove>
   		<h:outputStylesheet name="css/public/table.css" />
   		<style type="text/css">
   			
   			.ui-datatable tbody tr {
   				line-height: 30px;   				 
   			}
   			
   			.ui-datatable {
   				border:#efefef;
   			}
   		</style>
   
   </ui:define>
   
   	<ui:define name="content">
   		<h:form id="searchForm">
			<!--招标公告-->
			<div class="sub_wrap">
				<div class="Methbox_tit">
					<h2>作废公示</h2>
					<span><p:link outcome="/index.xhtml" value="平台首页"/>&gt;结果公告</span>
				</div>
				<div class="Methbox_con">
					<p:dataTable styleClass="table reqTable" value="#{zfBulletinList.resultList}" var="_bulletin">	
						<c:set var="title" value="关于为#{_bulletin.projectName}选取结果的公告" />
						<p:column>
							<f:facet name="header">采购项目名称</f:facet>							
							<h:outputLink value="AgreedBulletinArticleView.xhtml" title="#{title}" target="_blank">
								#{title}
								<f:param name="bulletinId" value="#{_bulletin.id}"></f:param>
								<f:param name="showSupplier" value="true"></f:param>
								<f:param name="bulletinTitle" value="结果公告"></f:param>
								<f:param name="title" value="#{title}"></f:param>
								<f:param name="hasZF" value="#{true}"></f:param>
							</h:outputLink>  
						</p:column>
						
						<p:column headerText="资质要求">							
							<h:outputText value="#{_bulletin.bulletinReqStr}" title="#{_bulletin.bulletinReqStr}"/>
						</p:column>
						
						<p:column width="100">
							<f:facet name="header">发布时间</f:facet>			
							<h:outputText value="#{_bulletin.getAgreedBulletinDate()}">
								<f:convertDateTime pattern="yyyy-MM-dd"/>
							</h:outputText>
						</p:column>						
					</p:dataTable>
			
					<ui:include src="/WEB-INF/templates/manage/pagination.xhtml">
						<ui:param name="entityList" value="#{zfBulletinList}" />
					</ui:include>
				</div>
			</div>
		</h:form>
      
   	</ui:define>	  
</ui:composition>   